package yhp.service.impl;

import yhp.bean.Users;
import yhp.dao.UserDao;
import yhp.dao.impl.UserDaoImpl;
import yhp.service.UserService;

import java.sql.SQLException;
import java.util.List;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();

    @Override
    public List<Users> getall() throws SQLException {
        return userDao.getall();
    }
}
